package com.dingreading.cloud.subject.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类。
 *
 * @author Administrator
 * @since 2024-02-26
 */
@ApiModel(value = "学科课次建议表")
@Data
@Table(value = "subject_lesson_issue")
public class SubjectLessonIssue implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id(keyType = KeyType.Auto)
    private Long id;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(onInsertValue = "now()")
    private Date addTime;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(onInsertValue = "now()", onUpdateValue = "now()")
    private Date editTime;

    /**
     * 处理时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date replyTime;

    /**
     * uid
     */
    private String uid;

    /**
     * 公司uid
     */
    private String corpUid;

    /**
     * 门店uid
     */
    private String storeUid;

    /**
     * 门店名称
     */
    private String storeName;

    /**
     * 主学科id
     */
    private Long subjectMainId;

    /**
     * 关联学科的id
     */
    private Long subjectId;

    /**
     * 层级构造
     */
    private String levelName;

    /**
     * 课次id
     */
    private Long lessonId;

    private String lessonUid;

    /**
     * 课次名
     */
    private String lessonName;

    /**
     * 联系号码
     */
    private String mob;

    /**
     * 建议内容
     */
    private String issueContent;

    /**
     * 回复内容
     */
    private String replyContent;

    /**
     * 状态 0.取消 1.未处理 2.已处理
     */
    private Integer status;

    /**
     * 读取状态 0.未读 1.已读
     */
    private Integer readStatus;

    /**
     * 创建人uid
     */
    private String addStaffUid;

    /**
     * 创建人姓名
     */
    private String addStaffName;

    /**
     * 更新人uid
     */
    private String lastStaffUid;

    /**
     * 更新人姓名
     */
    private String lastStaffName;

    /**
     * 处理人uid
     */
    private String replyStaffUid;

    /**
     * 处理人姓名
     */
    private String replyStaffName;

}
